#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#if defined(WIN32) || defined(XBOX) || defined(_XBOX)
#include "utils.h"
#endif

#include "studio.h"

int main(int argc, char **argv)
{
#if defined(WIN32) || defined(XBOX) || defined(_XBOX)
	redirect_soutput();
#endif

	ExultStudio studio(argc, argv);
	studio.run();

#if defined(WIN32) || defined(XBOX) || defined(_XBOX)
	cleanup_soutput();
#endif

}
